ImportWP\Common\Rest\RestManager D

Total Complexity 306
Dependencies 23
Dependents 3
Total lines 1,936
Lines of code 1,390
Logical lines of code 803
Comment lines 110
Methods 46
Properties 7

Methods 46

Method Rating Maintainability Complexity Lines of code
save_importer()
D
12
91 251
get_file_preview()
C
35 25 81
generate_status_message()
C
39 25 54
save_exporter()
A
45 16 39
register_routes()
A
27
1 255
get_exporter_status()
A
42 12 49
complete_section_map()
A
44 12 41
get_file_process()
A
45 11 39
get_preview()
A
47 9 33
check_rest_status()
A
48 8 34
save_settings()
A
50 8 27
attach_file()
A
46 7 38
sanitize()
S
53 7 22
import_exporters()
S
48 6 32
get_compatibility_settings()
S
52 6 22
get_importer_unique_identifier_options()
S
50 5 28
generate_base_path()
S
61 6 11
save_compatibility()
S
54 5 20
sanitize_setting()
S
58 5 17
export_importers()
S
47 3 34
read_exporter_config()
S
56 4 16
get_status()
S
50 3 27
get_template()
S
54 2 21
get_log()
S
60 2 12
get_template_field_options()
S
62 2 11
get_debug_log()
S
61 2 11
download_exporter_config()
S
52 1 23
get_importers()
S
67 2 8
get_permission()
S
69 2 6
get_exporters()
S
65 2 9
run_import()
S
59 1 14
init_export()
S
60 1 13
init_import()
S
60 1 13
run_exporter()
S
62 1 11
delete_exporter()
S
70 1 6
get_exporter()
S
68 1 7
__construct()
S
65 1 9
get_compatibility()
S
76 1 4
get_settings()
S
76 1 4
get_logs()
S
70 1 6
register()
S
79 1 3
pause_import()
S
69 1 6
delete_importer()
S
70 1 6
get_importer()
S
68 1 7
migrate()
S
72 1 5
stop_import()
S
72 1 5